const path = require('path')
module.exports = {
  // eslint-loader 是否在保存的时候检查
  lintOnSave: false,

  devServer:{
    proxy:{
      "api":{
        target:"http://localhost:8088/",
        pathRewrite:{"^/api":""}
      }
    }
  },

  pluginOptions: {
    'style-resources-loader': {
      preProcessor: 'less',
      patterns: [
        path.join(__dirname, './src/assets/styles/variables.less'),
        path.join(__dirname, './src/assets/styles/mixins.less')
      ]
    }
  }
}
